package org.linlinjava.litemall.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.db.domain.LitemallCartGoodsAccessory;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author ：stephen
 * @date ：Created in 2020/5/13 10:11
 * @description：TODO
 */
@Data
@ApiModel(value="购物车对象Dto",description = "购物车相关属性")
public class AdminCartDTO {
    @ApiModelProperty(value = "用户Id")
    private Integer userId;
    @ApiModelProperty(value = "门店Id")
    private Integer shopId;
    @ApiModelProperty(value = "门店名称")
    private String shopName;
    @ApiModelProperty(value = "商品Id")
    private Integer goodsId;
    @ApiModelProperty(value = "商品编号")
    private String goodsSn;
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    @ApiModelProperty(value = "商品库存Id")
    private Integer productId;
    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;
    @ApiModelProperty(value = "税费")
    private BigDecimal taxPrice;
    @ApiModelProperty(value = "商品数量")
    private Short number;
    @ApiModelProperty(value = "商品规格Id")
    private Integer[] specificationIds;
    @ApiModelProperty(value = "商品规格名称")
    private String[] specifications;
    @ApiModelProperty(value = "订单类型（1自提，2配送，3堂食，4外带）")
    private Byte orderType;
    private List<LitemallCartGoodsAccessory> cartGoodsAccessoryList;

    private Integer id;
}
